package com.gmgx.hrms.biz.impl;

import com.gmgx.hrms.biz.DeptBiz;
import com.gmgx.hrms.dao.DeptDao;
import com.gmgx.hrms.dao.impl.DeptDaoImpl;
import com.gmgx.hrms.entity.Dept;

import java.util.List;

public class DeptBizImpl implements DeptBiz {
    private DeptDao dao=new DeptDaoImpl();

    @Override
    public List<Dept> getAllDept() {
        //获取所有的部门
        return dao.queryAllDept();
    }
}
